package com.ljl.ssm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

@TableName(value = "complete_in")

public class CompleteIn extends Model<CompleteIn> {
    private static final long serialVersionUID=1L;
   @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String picture;
    private String nick;
    private String eMail;
    private String tel;
    private String trueName;
    private String address;
    private int postCode;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }


    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public int getPostCode() {
        return postCode;
    }

    public void setPostCode(int postCode) {
        this.postCode = postCode;
    }

    @Override
    public String toString() {
        return "CompleteIn{" +
                "id=" + id +
                ", picture='" + picture + '\'' +
                ", nick='" + nick + '\'' +
                ", eMail='" + eMail + '\'' +
                ", tel='" + tel + '\'' +
                ", trueName='" + trueName + '\'' +
                ", address='" + address + '\'' +
                ", postCode=" + postCode +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
